import * as Type from './actionTypes';
export const PLAY = value => {
  return {type: Type.PLAY, value};
};
export const CURRENT_TIME = value => {
  return {type: Type.CURRENT_TIME, value};
};
export const CURRENT_MUSIC = value => {
  return {type: Type.CURRENT_MUSIC, value};
};
export const PLAYLIST = value => {
  return {type: Type.PLAYLIST, value};
};
export const ADD_TO_PLAYLIST = value => {
  return {type: Type.ADD_TO_PLAYLIST, value};
};
export const DEL_TO_PLAYLIST = value => {
  return {type: Type.DEL_TO_PLAYLIST, value};
};export const EMPTY_TO_PLAYLIST = value => {
  return {type: Type.EMPTY_TO_PLAYLIST, value};
};
export const DURATION = value => {
  return {type: Type.DURATION, value};
};
export const ISPRESS = value => {
  return {type: Type.ISPRESS, value};
};
export const PLAYER = value => {
  return {type: Type.PLAYER, value};
};
export const SEEK_DONE = value => {
  return {type: Type.SEEK_DONE, value};
};

export const PLAY_CONTROL_BOTTOM = value => {
  return {type: Type.PLAY_CONTROL_BOTTOM, value};
};
export const INIT_STATE = value => {
  return {type: Type.INIT_STATE, value};
};

export const TO_ADD = value => {
  return {type: Type.TO_ADD, value};
};
export const TO_ADD_VALUE = value => {
  return {type: Type.TO_ADD_VALUE, value};
};
